#pragma once

#include <iostream>
#include <string>
class Task
{
public:
    Task() = default;

    Task(int a, int b) :_a(a), _b(b)
    {
        printf("%d + %d = ?\n", a, b);
    }

    void operator()()
    {
        printf("%d + %d = %d\n", _a, _b, _a+_b);
    }
private:
    int _a, _b;
};